package com.zzqstart.cateorder.remote;

import com.zzqstart.commonutils.R;
import com.zzqstart.commonutils.entity.RecipeDetailFrontVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ClassName: CateServiceRemote
 * Package: com.zzqstart.cateorder.remote
 * Description:
 *
 * @Author zzqstart
 * @Create 2023-03-11 22:12
 * @Version 1.0
 */
@Component
@FeignClient("service-cate")
public interface CateServiceRemote {
    @GetMapping("/cateservice/caterecipe/getRecipeById/{recipeId}")
    public RecipeDetailFrontVo getRecipeById(@PathVariable("recipeId") String recipeId);
}
